package com.cskaoyan.mall.service;

import com.cskaoyan.mall.bean.Brand;
import com.cskaoyan.mall.bean.bo.BrandListBO;
import com.cskaoyan.mall.bean.bo.BrandUpdateBO;
import com.cskaoyan.mall.bean.vo.GeneralItemsBean;
import com.cskaoyan.mall.bean.vo.GoodsBrandVO;

import java.util.List;

/**
 * @Author: dyj
 * @Date: 2021/1/9 17:09
 * @Description
 */
public interface BrandService {
    GeneralItemsBean<Brand> queryList(BrandListBO brandListBO);

    void insertBrand(Brand brand);

    Brand updateBrand(BrandUpdateBO brandUpdateBO);

    int deleteBrand(Brand brand);

    /**
     * @Author  hty
     * @WhereUse 商品编辑页面回显全部的品牌
     */
    List<GoodsBrandVO> queryAllGoodsBrands();

}
